home *** CD-ROM | disk | FTP | other *** search
- /*
- IC Button What.h
-
- */
-
- #pragma once
-
- #ifndef __H_IC_Button_What__
- #define __H_IC_Button_What__
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- void GetIconRect(DialogPtr dlg,short item,Rect* r);
- pascal void ButtonDeviceLoopProc(short depth,short deviceFlags,GDHandle targetDevice,long item);
- void DrawButton(DialogPtr dlg,short item,Boolean highlighted);
- pascal void ButtonUserItemUpdate(DialogPtr dlg,short item);
- OSErr WhatOpenButton(WindowType wt,short item);
- void ToggleHighlight(DialogPtr dlg,short item,Boolean* highlighted);
- OSErr WhatClickButton(WindowType wt,short item,EventRecord* er);
-
- #if 0
- void ToggleHighlight2(Boolean* highlighted,short* transfer,Rect* icon_rect,Handle suite,RgnHandle highlight_rgn);
- OSErr WhatClickButton(WindowType wt,short item,EventRecord* er);
- #endif
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* __H_IC_Button_What__ */
-